import request from '@/utils/request'

// 查询部门用户
export function getWorkflowDept(query) {
  return request({
    url: '/workflow/task/getWorkflowDept',
    method: 'get',
    params: query
  })
}

// 查询流程节点
export function getWorkflowNode(query) {
  return request({
    url: '/workflow/task/getWorkflowNode',
    method: 'get',
    params: query
  })
}

// 查询流程节点用户
export function getWorkflowNodeUser(query) {
  return request({
    url: '/workflow/task/getWorkflowNodeUser',
    method: 'get',
    params: query
  })
}

// 查询任务步骤
export function getWorkflowStep(query) {
  return request({
    url: '/workflow/task/getWorkflowStep',
    method: 'get',
    params: query
  })
}
